<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>ASN List</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" 
  	name="viewport" />
  <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css" />
  <!-- Font Awesome -->
  <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css" />
  <!-- Ionicons -->
  <link rel="stylesheet" href="bower_components/Ionicons/css/ionicons.min.css" />
  <!-- Theme style -->
  <link rel="stylesheet" href="dist/css/AdminLTE.min.css" />
  <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
        page. However, you can choose any other skin. Make sure you
        apply the skin class to the body tag so the changes take effect. -->
  <link rel="stylesheet" href="dist/css/skins/skin-blue.min.css" />
  
  
  <!-- Date Picker -->
  <link rel="stylesheet" href="bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css" />
  <!-- Daterange picker -->
  <link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css" />
  
  <!-- bootstrap-table -->
  <link rel="stylesheet" href="bower_components/bootstrap-table/bootstrap-table.css" />

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->

  <!-- Google Font -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic" />

  <style>
    .example-modal .modal {
      position: relative;
      top: auto;
      bottom: auto;
      right: auto;
      left: auto;
      display: block;
      z-index: 1;
    }

    .example-modal .modal {
      background: transparent !important;
    }
  </style>
</head>
<body class="hold-transition skin-blue sidebar-mini">

<div class="wrapper"> 


<!-- ##以下为头部消息栏的信息############################################################################## -->
<div th:include="mainheader :: mainheader"></div>
<!-- ##以上为头部消息栏的信息############################################################################## -->
 
<!-- ##以下为头部消息栏的信息############################################################################## -->
<div th:include="leftside :: leftside"></div>
<!-- ##以上为头部消息栏的信息############################################################################## -->

<!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        Advanced Shipping Note        
        <small>
        	入库通知单管理界面
        </small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="/index"><i class="fa fa-dashboard"></i> 
        	首页
        </a></li>
        <li class="active">
        ASN LIST 入库管理
        </li>
      </ol>
    </section>
    
    
    <!-- Main content -->
    <section class="content container-fluid">
	 <div class="panel-body" style="padding-bottom:10px;">
	 	ASN入库单
       <!--   <table id="tb_asnListHeader" 
        	class="table table-bordered table-striped">
        	<thead>
        		<tr>
        			<th>aaa1</th> <th>aaa2</th> <th>aaa3</th> <th>aaa4</th>
        			<th>aaa5</th> <th>aaa6</th> <th>aaa7</th>
        		</tr>
        	</thead>
       	</table>-->
        <table id="tb_asnListHeader" 
        	class="table table-bordered table-striped"></table>
	 </div> 
	 <div class="panel-body" style="padding-bottom:10px;">
	 
<!-- 	 	入库单明细-ASN编号: -->
	 	<div id="detailAsnNum"></div>
     
        <table id="tb_asnListDetail"
        	class="table table-bordered table-striped"></table>
        
	 </div>
	</section>
    
  </div>
  <!-- /.content-wrapper --> 

<!-- ##以下为底部页脚的信息########################################################################### -->

<div th:include="mainfooter :: mainfooter"></div>

<!-- ##以上为底部页脚的信息########################################################################### --> 


<!-- ##以下为右边侧边栏的信息############################################################################## -->

  <!-- Control Sidebar 右边侧边栏-->
  <aside class="control-sidebar control-sidebar-dark">
	<!-- Create the tabs -->
    <ul id="asnoptTab" class="nav nav-tabs nav-justified control-sidebar-tabs">
      <li class="active">  
      <!--<li>-->
      	<!--  -->
      	<a href="#control-sidebar-home-tab" 
      		data-toggle="tab">
      		<i class="fa fa-home">入库操作</i>
      	</a> 
      </li>
      
      <li>
      	<!-- -->
      	<a href="#control-sidebar-settings-tab" 
      		data-toggle="tab">
      		<i class="fa fa-gears">报表打印</i>
      	</a>
      </li>
    </ul>
    <!-- Tab panes -->
    <div class="tab-content">
		<!-- Home tab content -->
      <div class="tab-pane fade in active" 
      	id="control-sidebar-home-tab">
      
        <h3 class="control-sidebar-heading">
        	此界面可执行的操作
        </h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:void(0)">
              <i class="menu-icon fa  fa-download bg-red"></i> 
              <!-- fa-birthday-cake -->
              <div class="menu-info"> 
				<button type="button" 
					class="btn btn-block btn-primary"
					data-toggle="modal" 
					data-target="#receiving_cargo1" 
					>
					入库单收货
				</button>	 
              </div>
            </a>
          </li>
          
          <li>
            <a href="javascript:void(0)">
              <i class="menu-icon fa  fa-reply bg-black"></i> 
              <!-- fa-birthday-cake -->
              <div class="menu-info"> 
				<button type="button" 
					class="btn btn-block btn-default" 
					data-toggle="modal" 
					data-target="#un_receiving_cargo1"
					>
					 取消收货
				</button>	 
              </div>
            </a>
          </li>
          
          <li>
            <a href="javascript:void(0)">
              <i class="menu-icon fa fa-plus bg-yellow"></i> 
              <div class="menu-info"> 
				<button type="button" 
					class="btn btn-block btn-success" 
					data-toggle="modal" 
					data-target="#modal-default">
					新建入库单
				</button>
              </div>
            </a>
          </li>
          <li>
            <a href="javascript:void(0)">
              <i class="menu-icon fa fa-edit bg-light-blue"></i> 
              <div class="menu-info">
				<button type="button" 
					class="btn btn-block btn-info"
					data-toggle="modal" 
					data-target="#modal-primary" 
					onclick="headedit()">
					修改入库单
				</button>	  
              </div>
            </a>
          </li>
          <li>
            <a href="javascript:void(0)">
              <i class="menu-icon fa fa-close bg-green"></i> 
              <div class="menu-info"> 
				<button type="button" 
					class="btn btn-block btn-danger"
					data-toggle="modal" 
					data-target="#modal-delete1" 
					onclick="headdel()"> 
					删除入库单
				</button>	 
              </div>
            </a>
          </li> 
        </ul>
        <!-- /.control-sidebar-menu -->
        
        <h3 class="control-sidebar-heading">
        	入库单子项单操作
        </h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:void(0)">
              <i class="menu-icon fa fa-plus bg-orange"></i> 
              <!-- fa-birthday-cake -->
              <div class="menu-info"> 
				<button type="button" 
					class="btn btn-block btn-primary"
					data-toggle="modal" 
					data-target="#modal-addDetailNew" 
					onclick="addDetailItem()">
					新增明细单
				</button>	 
              </div>
            </a>
          </li>
          <li>
            <a href="javascript:void(0)">
              <i class="menu-icon fa  fa-edit bg-purple"></i> 
              <!-- fa-birthday-cake -->
              <div class="menu-info"> 
				<button type="button" 
					class="btn btn-block btn-default"
					data-toggle="modal" 
					data-target="#modal-editDetail" 
					onclick="editDetailItem()"
					>
					修改明细单
				</button>	 
              </div>
            </a>
          </li>
          <li>
            <a href="javascript:void(0)">
              <i class="menu-icon fa  fa-close bg-gray"></i> 
              <!-- fa-birthday-cake -->
              <div class="menu-info"> 
				<button type="button" 
					class="btn btn-block btn-info"
					data-toggle="modal" 
					data-target="#modal-Detaildelete1" 
					onclick="delDetailItem()"
					>
					删除明细单
				</button>	 
              </div>
            </a>
          </li> 
         </ul>
      </div>
      
	  <!-- /.tab-pane -->
      <!-- Settings tab content -->
      <div class="tab-pane" id="control-sidebar-settings-tab">
        <form method="post">
          <h3 class="control-sidebar-heading">
             	报表打印界面 
          </h3> 
          <div class="form-group">
            <label class="control-sidebar-subheading"> 
				<button type="button" class="btn btn-block bg-red">
					收货单打印
				</button> 
            </label> 
            <p>
            </p>
          </div>
          <!-- /.form-group --> 
          <div class="form-group">
            <label class="control-sidebar-subheading">
               	<button type="button" class="btn btn-block bg-yellow">
					收货破损单打印
				</button> 
            </label> 
            <p>
            </p>
          </div>
          <!-- /.form-group --> 
          <div class="form-group">
            <label class="control-sidebar-subheading">
              <button type="button" class="btn btn-block bg-blue">
			         收货单退单打印
			  </button>
            </label>
            <p> </p>
          </div>
          <!-- /.form-group -->
<!-- -->
          <h3 class="control-sidebar-heading">
          	标签条码打印
          </h3>

          <div class="form-group">
            <label class="control-sidebar-subheading"> 
              <button type="button" class="btn btn-block bg-light-blue">
			  	打印货物条码标签
			  </button>
            </label>
          </div>
          <!-- /.form-group -->

          <div class="form-group">
            <label class="control-sidebar-subheading"> 
              <button type="button" class="btn btn-block bg-green">
			  	打印入库单标签条码
			  </button>
            </label>
          </div>
          <!-- /.form-group -->

          <div class="form-group">
            <label class="control-sidebar-subheading">
              <button type="button" class="btn btn-block bg-red">
			  	打印收货库位标签条码
			  </button>
            </label>
          </div>
          <!-- /.form-group -->
        </form>
      </div>
      <!-- /.tab-pane -->
    </div>
  </aside>
  <!-- /.control-sidebar -->
  <!-- Add the sidebar's background. This div must be placed
       immediately after the control sidebar -->
  <div class="control-sidebar-bg"></div>
<!-- ##以上为右边侧边栏的信息############################################################################## -->


</div>
<!-- ./wrapper -->

<div id="addNewAsnUI"></div>


<!--  ###以下为新增内容 ##################################################### -->
		<div class="modal fade" id="modal-default">
	      <div class="modal-dialog">
	        <div class="modal-content">
	          <div class="modal-header">
	            <button type="button" class="close" 
	            	data-dismiss="modal" 
	            	aria-label="Close">
	              <span aria-hidden="true">&times;</span></button>
	            <h4 class="modal-title">
	            	<!--  Default Modal -->
	            	新建入库单
	            </h4>
	          </div>
	          <div class="modal-body">
	            <p>入库单号自动生成不用填入</p>
	            <p>*号为必填信息</p>
	            <form id="addNewForm" action="" method="post" role="form">
	            	<div class="form-group">
                		<label>StoreKey(客户ID)</label>
                		<input type="text" 
                			id="StoreKey"
                			name="StoreKey"
                			class="form-control" 
                			placeholder="请输入STOREKEY" />
                		
                		<!--  
                		<label>CreateDate(创建时间)</label>
                		<input type="text" 
                			id="CreateDate"
                			name="CreateDate"
                			class="form-control" 
                			placeholder="请输入CreateDate" />
                		
                		
                		<label>InState(入库状态)</label>
                		<input type="text" 
                			id="InState"
                			name="InState"
                			class="form-control" 
                			placeholder="请输入InState" />
                		-->
                		
                		<label>InvNo(入库发票号)</label>
                		<input type="text" 
                			id="InvNo"
                			name="InvNo"
                			class="form-control" 
                			placeholder="请输入InvNo" />
                		
                		<label>BusiNo(随货单据号)</label>
                		<input type="text" 
                			id="BusiNo"
                			name="BusiNo"
                			class="form-control" 
                			placeholder="请输入BusiNo" />
                		
                		<label>PkgType(包装类型)</label>
                		<input type="text" 
                			id="PkgType"
                			name="PkgType"
                			class="form-control" 
                			placeholder="请输入PkgType" />
                		
                		<!--  
                		<label>InBoundDate(入库日期)</label>
                		<input type="text" 
                			id="InBoundDate"
                			name="InBoundDate"
                			class="form-control" 
                			placeholder="请输入InBoundDate" />
                		-->
                		
                		<label>Remark1(备注1)</label>
                		<input type="text" 
                			id="Remark1"
                			name="Remark1"
                			class="form-control" 
                			placeholder="请输入Remark1" />
                		
                	</div>
	            </form>
	            
	          </div>
	          <div class="modal-footer">
	            <button type="button" class="btn btn-default pull-left" 
	            	data-dismiss="modal">
	              	放弃保存
	            </button>
	            <button type="button" 
	            	class="btn btn-primary"  
					onclick="addNew()">
	            	保存新增
	            </button>
	          </div>
	        </div>
	        <!-- /.modal-content -->
	  	  </div>
	  	  <!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
<!--  ###以上为新增内容 ##################################################### -->


<!--  ###以下为修改内容 ##################################################### --> 
        <div class="modal modal-primary fade" id="modal-primary">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" 
                	data-dismiss="modal" 
                	aria-label="Close">
                  <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">
                	修改入库单
                </h4>
              </div>
              <div class="modal-body">
                <p>
                	入库单号不可修改
                </p>
	            <form id="editOrder" action="" method="post"  role="form">
	            	<div class="form-group">
	            		<label>ASNNum(入库单号)</label>
	            		<div id="asnNum2" name=""></div>
<!-- 	            		<table class="table table-bordered"> -->
<!-- 	            			 <tr> -->
<!-- 	            			 	<td><label>StoreKey</label></td> -->
<!-- 	            			 	<td><input type="text" class="form-control" placeholder="请输入STOREKEY" /></td> -->
<!-- 	            			 	<td><label>StoreKey</label></td> -->
<!-- 	            			 	<td><input type="text" class="form-control" placeholder="请输入STOREKEY" /></td> -->
<!-- 	            			 </tr> -->
<!-- 	            		</table> -->
						<label>StoreKey(客户ID)</label>
                		<input type="text" 
                			id="StoreKey2"
                			name="StoreKey"
                			class="form-control" 
                			placeholder="请输入STOREKEY" />
                			
                		<label>InvNo(入库发票号)</label>
                		<input type="text" 
                			id="InvNo2"
                			name="InvNo"
                			class="form-control" 
                			placeholder="请输入InvNo" />
                			
                		<label>BusiNo(随货单据号)</label>
                		<input type="text" 
                			id="BusiNo2"
                			name="BusiNo"
                			class="form-control" 
                			placeholder="请输入BusiNo" />
                			
                		<label>PkgType(包装类型)</label>
                		<input type="text" 
                			id="PkgType2"
                			name="PkgType"
                			class="form-control" 
                			placeholder="请输入PkgType" />
                		
                		<label>Remark1(备注1)</label>
                		<input type="text" 
                			id="Remark12"
                			name="Remark1"
                			class="form-control" 
                			placeholder="请输入Remark1" /> 

	            	</div>
	            </form>
              </div>
              <div class="modal-footer">
                <button type="button" 
                	class="btn btn-outline pull-left" 
                	data-dismiss="modal">
                	Close
                </button>
                
                <button type="button" 
                	class="btn btn-outline" 
					onclick="editSave()">
                	Save changes
                </button>
              </div>
            </div>
            <!-- /.modal-content -->
          </div>
          <!-- /.modal-dialog -->
        </div>
        <!-- /.modal --> 
<!--  ###以上为修改内容 ##################################################### -->
		
<!--  ###以下为删除内容 ##################################################### -->
		<div class="modal modal-danger fade" id="modal-delete1">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" 
                	data-dismiss="modal" 
                	aria-label="Close">
                  <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">
                	是否删除以下ASN入库单号
                </h4>
              </div>
              <div class="modal-body">
              
<!--                 <p>One fine body&hellip;</p> -->                
                <div id="delAsnNum1"></div>
                
              </div>
              <div class="modal-footer">
                <button type="button" 
                	class="btn btn-outline pull-left" 
                	data-dismiss="modal">
                	关闭(Close)
                </button>
                <button type="button" 
                	class="btn btn-outline"
                	onclick="delToSure()"> 
                	是的删除(Yes Delete)
                </button>
              </div>
            </div>
            <!-- /.modal-content -->
          </div>
          <!-- /.modal-dialog -->
        </div>
        <!-- /.modal -->
<!--  ###以上为删除内容 ##################################################### -->


<!--  ###以下为明细添加内容 ##################################################### -->

 		<div class="modal fade" id="modal-addDetailNew">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                  <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">
                	新建入库单明细
                </h4>
              </div>
              <div class="modal-body">
              	<p> 
                	入库单明细号自动生成不用填入
                </p>                
                <p>
                	*号为必填信息
                </p>
	            <form id="addDetailForm" action="" method="post" role="form">
                	<div class="form-group">
<!-- 	            		<label>明细编号(ASNDNum)</label> -->
<!--                 		<input type="text"  -->
<!--                 			id="ASNDNum" -->
<!--                 			name="ASNDNum" -->
<!--                 			class="form-control"  -->
<!--                 			placeholder="请输入ASNDNum" /> -->
                		<label>*产品ID(SKUID)</label>
                		<input type="text" 
                			id="SKUID"
                			name="SKUID"
                			class="form-control" 
                			placeholder="请输入SKUID" />
                		<label>产品中文名(SKUCN)</label>
                		<input type="text" 
                			id="SKUCN"
                			name="SKUCN"
                			class="form-control" 
                			placeholder="请输入SKUCN" />
                		<label>供货产品ID(VEDCODE)</label>
                		<input type="text" 
                			id="VEDCODE"
                			name="VEDCODE"
                			class="form-control" 
                			placeholder="请输入VEDCODE" />
                		<label>*最小包装数量(UOMNUM)</label>
                		<input type="text" 
                			id="UOMNUM"
                			name="UOMNUM"
                			class="form-control" 
                			placeholder="请输入UOMNUM" />
                		<label>*法定单位(FDUNIT)</label>
                		<input type="text" 
                			id="FDUNIT"
                			name="FDUNIT"
                			class="form-control" 
                			placeholder="请输入FDUNIT" />
<!--                 		<label>收货批号(LOTID)</label> -->
<!--                 		<input type="text"  -->
<!--                 			id="LOTID" -->
<!--                 			name="LOTID" -->
<!--                 			class="form-control"  -->
<!--                 			placeholder="请输入LOTID" /> -->
                		<label>收货库位(LOCID)</label>
                		<input type="text" 
                			id="LOCID"
                			name="LOCID"
                			class="form-control" 
                			placeholder="请输入LOCID" />
                		<label>备注(remarkD1)</label>
                		<input type="text" 
                			id="remarkD1"
                			name="remarkD1"
                			class="form-control" 
                			placeholder="请输入remarkD1" />
	            	</div>
                </form> 
              </div>
              <div class="modal-footer">
                <button type="button" 
                	class="btn btn-default pull-left" 
                	data-dismiss="modal"> 
	              	放弃保存
                </button>
                
                <button type="button" 
                	class="btn btn-primary"
					onclick="addDNew()"> 
	            	保存新增
                </button>
              </div>
            </div>
            <!-- /.modal-content -->
          </div>
          <!-- /.modal-dialog -->
        </div>
        <!-- /.modal -->

<!--  ###以上为明细添加内容 ##################################################### -->

<!--  ###以下为明细编辑内容 ##################################################### -->

        <div class="modal modal-primary fade" id="modal-editDetail">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" 
                	data-dismiss="modal" 
                	aria-label="Close">
                  <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">
                	修改入库明细单
                </h4>
              </div>
              <div class="modal-body">
                <p>
                	入库明细单号不可修改
                </p>
	            <form id="editDetialsOrder" action="" method="post"  role="form">
	            	<div class="form-group">
	            	<label>产品ID(SKUID)</label>
                		<input type="text" 
                			id="SKUID2"
                			name="SKUID"
                			class="form-control" 
                			placeholder="请输入SKUID" />
                		<label>产品中文名(SKUCN)</label>
                		<input type="text" 
                			id="SKUCN2"
                			name="SKUCN"
                			class="form-control" 
                			placeholder="请输入SKUCN" />
                		<label>供货产品ID(VEDCODE)</label>
                		<input type="text" 
                			id="VEDCODE2"
                			name="VEDCODE"
                			class="form-control" 
                			placeholder="请输入VEDCODE" />
                		<label>最小包装数量(UOMNUM)</label>
                		<input type="text" 
                			id="UOMNUM2"
                			name="UOMNUM"
                			class="form-control" 
                			placeholder="请输入UOMNUM" />
                		<label>法定单位(FDUNIT)</label>
                		<input type="text" 
                			id="FDUNIT2"
                			name="FDUNIT"
                			class="form-control" 
                			placeholder="请输入FDUNIT" />
                		<label>收货库位(LOCID)</label>
                		<input type="text" 
                			id="LOCID2"
                			name="LOCID"
                			class="form-control" 
                			placeholder="请输入LOCID" />
                		<label>备注(remarkD1)</label>
                		<input type="text" 
                			id="remarkD12"
                			name="remarkD1"
                			class="form-control" 
                			placeholder="请输入remarkD1" />	
					</div>
	            </form>
              </div>
              <div class="modal-footer">
                <button type="button" 
                	class="btn btn-outline pull-left" 
                	data-dismiss="modal">
                	放弃修改
                </button>
                
                <button type="button" 
                	class="btn btn-outline" 
					onclick="editDSave()">
                	保存修改
                </button>
              </div>
            </div>
            <!-- /.modal-content -->
          </div>
          <!-- /.modal-dialog -->
        </div>
        <!-- /.modal --> 
<!--  ###以上为明细编辑内容 ##################################################### -->

<!--  ###以下为明细删除内容 ##################################################### -->
		<div class="modal modal-danger fade" id="modal-Detaildelete1">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" 
                	data-dismiss="modal" 
                	aria-label="Close">
                  <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">
                	是否删除以下ASN入库明细单号
                	<div id="DAsnNum1"></div>
                </h4>
              </div>
              <div class="modal-body">
              	<p>明细号</p>
<!--                 <p>One fine body&hellip;</p> -->                
                <div id="delAsnDetailNum1"></div>
                
              </div>
              <div class="modal-footer">
                <button type="button" 
                	class="btn btn-outline pull-left" 
                	data-dismiss="modal">
                	关闭(Close)
                </button>
                <button type="button" 
                	class="btn btn-outline"
                	onclick="delDToSure1()"> 
                	是的删除明细(Yes Delete)
                </button>
              </div>
            </div>
            <!-- /.modal-content -->
          </div>
          <!-- /.modal-dialog -->
        </div>
        <!-- /.modal -->


<!--  ###以上为明细删除内容 ##################################################### -->

<!--  ###以下为确认收货内容 ##################################################### -->
		<div class="modal modal-danger fade" id="receiving_cargo1">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" 
                	data-dismiss="modal" 
                	aria-label="Close">
                  <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">
                	根据ASN入库单号收货
                </h4>
                <p>(如未选ASN入库单号，将所有未入库的ASN单号进行入库操作)</p>
              </div>
              <div class="modal-body">
				<div id="recAsnNum1"></div>
			  </div>
              <div class="modal-footer">
                <button type="button" 
                	class="btn btn-outline pull-left" 
                	data-dismiss="modal">
                	取消关闭(Close)
                </button>
                <button type="button" 
                	class="btn btn-outline"
                	onclick="SureReceivingCargo()"> 
                	是的收货(Yes Receiving)
                </button>
              </div>
            </div>
            <!-- /.modal-content -->
          </div>
          <!-- /.modal-dialog -->
        </div>
        <!-- /.modal --> 
<!--  ###以上为确认收货内容 ##################################################### -->


<!--  ###以下为取消确认收货内容 ##################################################### -->
		<div class="modal modal-danger fade" id="un_receiving_cargo1">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" 
                	data-dismiss="modal" 
                	aria-label="Close">
                  <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">
                	根据ASN入库单号取消收货
                </h4>
                <p>(已经分配过货物的ASN单号，将不可取消收货)</p>
              </div>
              <div class="modal-body">
				<div id="unRecAsnNum1"></div>
			  </div>
              <div class="modal-footer">
                <button type="button" 
                	class="btn btn-outline pull-left" 
                	data-dismiss="modal">
                	关闭不取消收货(Close)
                </button>
                <button type="button" 
                	class="btn btn-outline"
                	onclick="SureReceivingCargo()"> 
                	是的取消收货(Yes Cancel Receiving)
                </button>
              </div>
            </div>
            <!-- /.modal-content -->
          </div>
          <!-- /.modal-dialog -->
        </div>
        <!-- /.modal -->  
<!--  ###以上为取消确认收货内容 ##################################################### -->






<!-- REQUIRED JS SCRIPTS -->

<!-- jQuery 3 -->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap 3.3.7 -->
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="dist/js/adminlte.min.js"></script>

<!-- bootstrap-table -->
<script src="bower_components/bootstrap-table/bootstrap-table.min.js"></script>
<script src="bower_components/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>

<!-- DataTables -->
<script src="../../bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="../../bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>


<!-- SlimScroll -->
<script src="../../bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>

<!-- FastClick -->
<script src="../../bower_components/fastclick/lib/fastclick.js"></script> 
 

<script src="js/asnopt.js"></script>
<script src="js/asnlist.js"></script>


<!-- Optionally, you can add Slimscroll and FastClick plugins.
     Both of these plugins are recommended to enhance the
     user experience. -->
</body>
</html>